package org.jaaksi.demo.ptr.util;

import android.util.Log;
import retrofit.util.Config;

/**
 * Created by Fcy on 2016/3/19.<br/>
 */
public class LogUtil {

	private static final String TAG = "fcy";
	private static boolean isDebug = Config.isDebugEv;

	public static void i(String tag,String log)
	{
		if (isDebug)
		{
			Log.i(TAG,tag+":"+log);
		}
	}

	public static void e(String tag,String log)
	{
		if (isDebug)
		{
			Log.e(TAG,tag+":"+log);
		}
	}
}
